module.exports = {
  title: {
    type: String,
    default: '标题文本',
    name: '标题文本',
    filedType: 'string'
  },

  titleIsBold: {
    type: Boolean,
    default: false,
    name: '标题文本加粗',
    filedType: 'switch'
  },

  textPaddingLeft: {
    type: String,
    default: '0px',
    name: '标题文本左边距',
    filedType: 'string'
  },

  color: {
    type: String,
    default: '#333',
    name: '文本颜色',
    filedType: 'color'
  },

  fontSize: {
    type: String,
    default: '16px',
    name: '字体大小',
    filedType: 'string'
  },

  lineHeight: {
    type: String,
    default: '24px',
    name: '行高',
    filedType: 'string'
  },

  paddingLeft: {
    type: String,
    default: '15px',
    name: '左边距',
    filedType: 'string'
  },

  borderBottomColor: {
    type: String,
    default: 'rgba(0, 0, 0, 0)',
    name: '下边框颜色',
    nameTipe: '配置该值后会显示下边框',
    filedType: 'color'
  },

  markImage: {
    type: Array,
    default () {
      return []
    },
    name: '左侧图标',
    filedType: 'file',
    limit: 1,
    maxSize: 1024
  },

  markImageSize: {
    type: String,
    default: '20px',
    name: '左侧图标尺寸',
    filedType: 'string'
  },

  markImageLeft: {
    type: String,
    default: '0px',
    name: '左侧图标水平位移',
    filedType: 'string'
  },

  markImageTop: {
    type: String,
    default: '0px',
    name: '左侧图标垂直位移',
    filedType: 'string'
  },

  markLineColor: {
    type: String,
    default: '#1273f6',
    name: '左标识线颜色',
    filedType: 'color'
  },

  toolTipText: {
    type: String,
    default: '',
    name: '提示文本',
    nameTip: '配置该值会在标题左侧显示一个问号',
    filedType: 'string'
  },

  toolTipTheme: {
    type: String,
    default: 'dark',
    name: '提示文本样式类型',
    filedType: 'select',
    options: [
      {
        name: '深色',
        value: 'dark'
      },
      {
        name: '浅色',
        value: 'light'
      }
    ]
  },

  toolTipIconColor: {
    type: String,
    default: '',
    name: '提示图标颜色',
    filedType: 'color'
  },

  moreUrl: {
    type: String,
    default: '',
    name: '更多链接url',
    nameTip: '配置该值后会显示更多链接',
    filedType: 'string'
  },

  moreText: {
    type: String,
    default: '更多',
    name: '更多链接显示文本',
    nameTip: '配置该值后会显示更多链接',
    filedType: 'string'
  },

  moreColor: {
    type: String,
    default: '#1273f6',
    name: '更多链接文本颜色',
    filedType: 'color'
  },

  moreSize: {
    type: String,
    default: '14px',
    name: '更多链接字体大小',
    filedType: 'string'
  },

  openInNewWindow: {
    type: Boolean,
    default: false,
    name: '在新容器中打开更多链接',
    filedType: 'switch'
  }
}
